namespace RkCalendar.ViewModel
{
    public class CalendarText
    {
        public CalendarText()
        {
            
        }
        public CalendarText(string text)
        {
            this.Text = text;
        }
        public ConsoleColor? BackColor { get; set; }
        public ConsoleColor? ForeColor { get; set; }
        public string Text { get; set; }
    }
    public class CalendarDay : CalendarText
    {
        public CalendarDay(int year, int month, int day, string lDay)
            : base()
        {
            this.Year = year;
            this.Month = month;
            this.Day = day;
            base.Text = day.ToString().PadLeft(2, ' ') + $"「{lDay}」";
        }
        public int Year { get; }
        public int Month { get; }
        public int Day { get; }
    }
}

